window: Warn when gtk_window_present_with_time() is passed 0
authorBastien Nocera <hadess@hadess.net>
Wed, 25 Jul 2018 15:43:02 +0000 (17:43 +0200)
committerBastien Nocera <hadess@hadess.net>
Mon, 25 Feb 2019 16:38:08 +0000 (17:38 +0100)
commit14890fad4702d79bbc81ecc747234de5af27c434
tree2cbedf535b89655fb29bf0dba1421d2e1f74c432
parent5a6a7b50af31826d342dbdb81901415f3b8f9356
window: Warn when gtk_window_present_with_time() is passed 0

When 0 or GDK_CURRENT_TIME is passed to gtk_window_present_with_time(),
print a warning so that the application developer knows that this isn't
a supported use of the function, but carry on working for now.
gtk/gtkwindow.c